﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace esri3
{
    public partial class ProgressBar : Form
    {
        public ProgressBar()
        {
            InitializeComponent();
            this.Left = 200;
            this.Top = 200;
            this.progressBar1.Minimum = 0;
        }

        public void SetMaxmium(int max)
        {
            this.progressBar1.Maximum = max;
        }
        public void SetValue(int para)
        {
            this.progressBar1.Value=para;
        }
        public void SetCaption(string str)
        {
            this.Text = str;
        }
        
    }
}
